<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class Twig_Node</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name"><img src="../media/images/Class_logo.png"
														alt=" Class"
														title=" Class"
														style="vertical-align: middle"> Twig_Node</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
							<a href="#sec-descendents">Descendents</a>
			|											<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
                <p class="implements">
            Implements interfaces:
            <ul>
                <li><a href="../twig/Twig_NodeInterface.html">Twig_NodeInterface</a></li><li>Countable (internal interface)</li><li>IteratorAggregate (internal interface)</li>            </ul>
        </p>
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Represents a node in the AST.</p>
	<ul class="tags">
				<li><span class="field">author:</span> Fabien Potencier &lt;<a href="mailto:fabien.potencier@symfony-project.com">fabien.potencier@symfony-project.com</a>&gt;</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_slinks---common---external---Twig---Node.php.html">/slinks/common/external/Twig/Node.php</a> (line <span class="field">19</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>

	<a name="sec-descendents"></a>
	<div class="info-box">
		<div class="info-box-title">Direct descendents</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
			<span class="disabled">Descendents</span>
			|												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
								|															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<table cellpadding="2" cellspacing="0" class="class-table">
				<tr>
					<th class="class-table-header">Class</th>
					<th class="class-table-header">Description</th>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../twig/Twig_Extensions_Node_Trans.html">Twig_Extensions_Node_Trans</a>
					</td>
					<td>
											Represents a trans node.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../twig/Twig-extensions/Twig_Extensions_Node_Debug.html">Twig_Extensions_Node_Debug</a>
					</td>
					<td>
											Represents a debug node.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../twig/Twig_Node_Block.html">Twig_Node_Block</a>
					</td>
					<td>
											Represents a block node.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../twig/Twig_Node_Import.html">Twig_Node_Import</a>
					</td>
					<td>
											Represents an import node.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../twig/Twig_Node_Module.html">Twig_Node_Module</a>
					</td>
					<td>
											Represents a module node.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../twig/Twig_Node_Set.html">Twig_Node_Set</a>
					</td>
					<td>
											Represents a set node.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../twig/Twig_Node_AutoEscape.html">Twig_Node_AutoEscape</a>
					</td>
					<td>
											Represents an autoescape node.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../twig/Twig_Node_Sandbox.html">Twig_Node_Sandbox</a>
					</td>
					<td>
											Represents a sandbox node.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../twig/Twig_Node_For.html">Twig_Node_For</a>
					</td>
					<td>
											Represents a for node.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../twig/Twig_Node_Include.html">Twig_Node_Include</a>
					</td>
					<td>
											Represents an include node.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../twig/Twig_Node_Spaceless.html">Twig_Node_Spaceless</a>
					</td>
					<td>
											Represents a spaceless node.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../twig/Twig_Node_Text.html">Twig_Node_Text</a>
					</td>
					<td>
											Represents a text node.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../twig/Twig_Node_Print.html">Twig_Node_Print</a>
					</td>
					<td>
											Represents a node that outputs an expression.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../twig/Twig_Node_Macro.html">Twig_Node_Macro</a>
					</td>
					<td>
											Represents a macro node.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../twig/Twig_Node_If.html">Twig_Node_If</a>
					</td>
					<td>
											Represents an if node.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../twig/Twig_Node_BlockReference.html">Twig_Node_BlockReference</a>
					</td>
					<td>
											Represents a block call node.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/AbstractClass.png"
								 alt="Abstract class"
								 title="Abstract class"
								 style="vertical-align: center"/>
						<a href="../twig/Twig_Node_Expression.html">Twig_Node_Expression</a>
					</td>
					<td>
											Abstract class for all nodes that represents an expression.
										</td>
				</tr>
							</table>
		</div>
	</div>


	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendants</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																																																<div class="var-title">
					<img src="../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$attributes" title="details" class="var-name">$attributes</a>
				</div>
																<div class="var-title">
					<img src="../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$lineno" title="details" class="var-name">$lineno</a>
				</div>
																<div class="var-title">
					<img src="../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$nodes" title="details" class="var-name">$nodes</a>
				</div>
																<div class="var-title">
					<img src="../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$tag" title="details" class="var-name">$tag</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendants</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																																																																																																<div class="method-definition">
					<img src="../media/images/Constructor.png" alt=" "/>
											<span class="method-result">Twig_Node</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											([<span class="var-type"></span>&nbsp;<span class="var-name">$nodes</span> = <span class="var-default">array()</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$attributes</span> = <span class="var-default">array()</span>], [<span class="var-type">integer</span>&nbsp;<span class="var-name">$lineno</span> = <span class="var-default">0</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$tag</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#compile" title="details" class="method-name">compile</a>
											(<span class="var-type"><a href="../twig/Twig_Compiler.html">Twig_Compiler</a></span>&nbsp;<span class="var-name">$compiler</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#count" title="details" class="method-name">count</a>
										()
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">mixed</span>
										<a href="#getAttribute" title="details" class="method-name">getAttribute</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#getIterator" title="details" class="method-name">getIterator</a>
										()
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#getLine" title="details" class="method-name">getLine</a>
										()
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../twig/Twig_Node.html">Twig_Node</a></span>
										<a href="#getNode" title="details" class="method-name">getNode</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#getNodeTag" title="details" class="method-name">getNodeTag</a>
										()
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">Boolean</span>
										<a href="#hasAttribute" title="details" class="method-name">hasAttribute</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">Boolean</span>
										<a href="#hasNode" title="details" class="method-name">hasNode</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#removeAttribute" title="details" class="method-name">removeAttribute</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#removeNode" title="details" class="method-name">removeNode</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setAttribute" title="details" class="method-name">setAttribute</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$value</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setNode" title="details" class="method-name">setNode</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, [<span class="var-type"><a href="../twig/Twig_Node.html">Twig_Node</a></span>&nbsp;<span class="var-name">$node</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#toXml" title="details" class="method-name">toXml</a>
											([<span class="var-type"></span>&nbsp;<span class="var-name">$asDom</span> = <span class="var-default">false</span>])
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#__toString" title="details" class="method-name">__toString</a>
										()
									</div>
											</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			
<a name="var$attributes" id="$attributes"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$attributes</span>
						(line <span class="line-number">22</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$lineno" id="$lineno"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$lineno</span>
						(line <span class="line-number">23</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$nodes" id="$nodes"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$nodes</span>
						(line <span class="line-number">21</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$tag" id="$tag"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$tag</span>
						(line <span class="line-number">24</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
														<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Constructor.png" />
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">37</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Constructor.</p>
<p class="description"><p>The nodes are automatically made available as properties ($this-&gt;node).  The attributes are automatically made available as array items ($this['name']).</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Twig_Node</span>
		<span class="method-name">
			__construct
		</span>
					([<span class="var-type"></span>&nbsp;<span class="var-name">$nodes</span> = <span class="var-default">array()</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$attributes</span> = <span class="var-default">array()</span>], [<span class="var-type">integer</span>&nbsp;<span class="var-name">$lineno</span> = <span class="var-default">0</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$tag</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$nodes</span><span class="var-description">: An array of named nodes</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$attributes</span><span class="var-description">: An array of attributes (should not be nodes)</span>			</li>
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$lineno</span><span class="var-description">: The line number</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$tag</span><span class="var-description">: The tag name associated with the Node</span>			</li>
				</ul>
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../twig/Twig_Extensions_Node_Trans.html#method__construct">Twig_Extensions_Node_Trans::__construct()</a>
							</li>
					<li>
				<a href="../twig/Twig-extensions/Twig_Extensions_Node_Debug.html#method__construct">Twig_Extensions_Node_Debug::__construct()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_Block.html#method__construct">Twig_Node_Block::__construct()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_Import.html#method__construct">Twig_Node_Import::__construct()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_From.html#method__construct">Twig_Node_From::__construct()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_Module.html#method__construct">Twig_Node_Module::__construct()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_SandboxedModule.html#method__construct">Twig_Node_SandboxedModule::__construct()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_Set.html#method__construct">Twig_Node_Set::__construct()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_AutoEscape.html#method__construct">Twig_Node_AutoEscape::__construct()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_Sandbox.html#method__construct">Twig_Node_Sandbox::__construct()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_For.html#method__construct">Twig_Node_For::__construct()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_Include.html#method__construct">Twig_Node_Include::__construct()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_Spaceless.html#method__construct">Twig_Node_Spaceless::__construct()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_Text.html#method__construct">Twig_Node_Text::__construct()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_Print.html#method__construct">Twig_Node_Print::__construct()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_SandboxedPrint.html#method__construct">Twig_Node_SandboxedPrint::__construct()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_Macro.html#method__construct">Twig_Node_Macro::__construct()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_If.html#method__construct">Twig_Node_If::__construct()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_BlockReference.html#method__construct">Twig_Node_BlockReference::__construct()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_Expression_Name.html#method__construct">Twig_Node_Expression_Name::__construct()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_Expression_Binary.html#method__construct">Twig_Node_Expression_Binary::__construct()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_Expression_Function.html#method__construct">Twig_Node_Expression_Function::__construct()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_Expression_Constant.html#method__construct">Twig_Node_Expression_Constant::__construct()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_Expression_Array.html#method__construct">Twig_Node_Expression_Array::__construct()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_Expression_Unary.html#method__construct">Twig_Node_Expression_Unary::__construct()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_Expression_ExtensionReference.html#method__construct">Twig_Node_Expression_ExtensionReference::__construct()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_Expression_Test.html#method__construct">Twig_Node_Expression_Test::__construct()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_Expression_BlockReference.html#method__construct">Twig_Node_Expression_BlockReference::__construct()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_Expression_Conditional.html#method__construct">Twig_Node_Expression_Conditional::__construct()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_Expression_GetAttr.html#method__construct">Twig_Node_Expression_GetAttr::__construct()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_Expression_Filter.html#method__construct">Twig_Node_Expression_Filter::__construct()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_Expression_Parent.html#method__construct">Twig_Node_Expression_Parent::__construct()</a>
							</li>
				</ul>
	</div>
<a name="methodcompile" id="compile"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">compile</span> (line <span class="line-number">103</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			compile
		</span>
					(<span class="var-type"><a href="../twig/Twig_Compiler.html">Twig_Compiler</a></span>&nbsp;<span class="var-name">$compiler</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../twig/Twig_Compiler.html">Twig_Compiler</a></span>
				<span class="var-name">$compiler</span>			</li>
				</ul>
		
				<hr class="separator" />
		<div class="notes">Implementation of:</div>
			<dl>
			<dt><a href="../twig/Twig_NodeInterface.html#methodcompile">Twig_NodeInterface::compile()</a></dt>
						<dd>Compiles the node to PHP.</dd>
					</dl>
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../twig/Twig_Extensions_Node_Trans.html#methodcompile">Twig_Extensions_Node_Trans::compile()</a>
								: Compiles the node to PHP.
							</li>
					<li>
				<a href="../twig/Twig-extensions/Twig_Extensions_Node_Debug.html#methodcompile">Twig_Extensions_Node_Debug::compile()</a>
								: Compiles the node to PHP.
							</li>
					<li>
				<a href="../twig/Twig_Node_Block.html#methodcompile">Twig_Node_Block::compile()</a>
								: Compiles the node to PHP.
							</li>
					<li>
				<a href="../twig/Twig_Node_Import.html#methodcompile">Twig_Node_Import::compile()</a>
								: Compiles the node to PHP.
							</li>
					<li>
				<a href="../twig/Twig_Node_Module.html#methodcompile">Twig_Node_Module::compile()</a>
								: Compiles the node to PHP.
							</li>
					<li>
				<a href="../twig/Twig_Node_Set.html#methodcompile">Twig_Node_Set::compile()</a>
								: Compiles the node to PHP.
							</li>
					<li>
				<a href="../twig/Twig_Node_AutoEscape.html#methodcompile">Twig_Node_AutoEscape::compile()</a>
								: Compiles the node to PHP.
							</li>
					<li>
				<a href="../twig/Twig_Node_Sandbox.html#methodcompile">Twig_Node_Sandbox::compile()</a>
								: Compiles the node to PHP.
							</li>
					<li>
				<a href="../twig/Twig_Node_For.html#methodcompile">Twig_Node_For::compile()</a>
								: Compiles the node to PHP.
							</li>
					<li>
				<a href="../twig/Twig_Node_Include.html#methodcompile">Twig_Node_Include::compile()</a>
								: Compiles the node to PHP.
							</li>
					<li>
				<a href="../twig/Twig_Node_Spaceless.html#methodcompile">Twig_Node_Spaceless::compile()</a>
								: Compiles the node to PHP.
							</li>
					<li>
				<a href="../twig/Twig_Node_Text.html#methodcompile">Twig_Node_Text::compile()</a>
								: Compiles the node to PHP.
							</li>
					<li>
				<a href="../twig/Twig_Node_Print.html#methodcompile">Twig_Node_Print::compile()</a>
								: Compiles the node to PHP.
							</li>
					<li>
				<a href="../twig/Twig_Node_SandboxedPrint.html#methodcompile">Twig_Node_SandboxedPrint::compile()</a>
								: Compiles the node to PHP.
							</li>
					<li>
				<a href="../twig/Twig_Node_Macro.html#methodcompile">Twig_Node_Macro::compile()</a>
								: Compiles the node to PHP.
							</li>
					<li>
				<a href="../twig/Twig_Node_If.html#methodcompile">Twig_Node_If::compile()</a>
								: Compiles the node to PHP.
							</li>
					<li>
				<a href="../twig/Twig_Node_BlockReference.html#methodcompile">Twig_Node_BlockReference::compile()</a>
								: Compiles the node to PHP.
							</li>
					<li>
				<a href="../twig/Twig_Node_Expression_Name.html#methodcompile">Twig_Node_Expression_Name::compile()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_Expression_AssignName.html#methodcompile">Twig_Node_Expression_AssignName::compile()</a>
								: Compiles the node to PHP.
							</li>
					<li>
				<a href="../twig/Twig_Node_Expression_Binary.html#methodcompile">Twig_Node_Expression_Binary::compile()</a>
								: Compiles the node to PHP.
							</li>
					<li>
				<a href="../twig/Twig_Node_Expression_Binary_In.html#methodcompile">Twig_Node_Expression_Binary_In::compile()</a>
								: Compiles the node to PHP.
							</li>
					<li>
				<a href="../twig/Twig_Node_Expression_Binary_NotIn.html#methodcompile">Twig_Node_Expression_Binary_NotIn::compile()</a>
								: Compiles the node to PHP.
							</li>
					<li>
				<a href="../twig/Twig_Node_Expression_Binary_Power.html#methodcompile">Twig_Node_Expression_Binary_Power::compile()</a>
								: Compiles the node to PHP.
							</li>
					<li>
				<a href="../twig/Twig_Node_Expression_Binary_FloorDiv.html#methodcompile">Twig_Node_Expression_Binary_FloorDiv::compile()</a>
								: Compiles the node to PHP.
							</li>
					<li>
				<a href="../twig/Twig_Node_Expression_Binary_Range.html#methodcompile">Twig_Node_Expression_Binary_Range::compile()</a>
								: Compiles the node to PHP.
							</li>
					<li>
				<a href="../twig/Twig_Node_Expression_Function.html#methodcompile">Twig_Node_Expression_Function::compile()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_Expression_Constant.html#methodcompile">Twig_Node_Expression_Constant::compile()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_Expression_Array.html#methodcompile">Twig_Node_Expression_Array::compile()</a>
								: Compiles the node to PHP.
							</li>
					<li>
				<a href="../twig/Twig_Node_Expression_Unary.html#methodcompile">Twig_Node_Expression_Unary::compile()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_Expression_ExtensionReference.html#methodcompile">Twig_Node_Expression_ExtensionReference::compile()</a>
								: Compiles the node to PHP.
							</li>
					<li>
				<a href="../twig/Twig_Node_Expression_Test.html#methodcompile">Twig_Node_Expression_Test::compile()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_Expression_BlockReference.html#methodcompile">Twig_Node_Expression_BlockReference::compile()</a>
								: Compiles the node to PHP.
							</li>
					<li>
				<a href="../twig/Twig_Node_Expression_Conditional.html#methodcompile">Twig_Node_Expression_Conditional::compile()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_Expression_GetAttr.html#methodcompile">Twig_Node_Expression_GetAttr::compile()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_Expression_Filter.html#methodcompile">Twig_Node_Expression_Filter::compile()</a>
							</li>
					<li>
				<a href="../twig/Twig_Node_Expression_Parent.html#methodcompile">Twig_Node_Expression_Parent::compile()</a>
								: Compiles the node to PHP.
							</li>
				</ul>
	</div>
<a name="methodcount" id="count"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">count</span> (line <span class="line-number">218</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			count
		</span>
				()
			</div>
	
		
				<hr class="separator" />
		<div class="notes">Implementation of:</div>
			<dl>
			<dt>Countable::count</dt>
					</dl>
			
	</div>
<a name="methodgetAttribute" id="getAttribute"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getAttribute</span> (line <span class="line-number">139</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets an attribute.</p>
	<ul class="tags">
				<li><span class="field">return:</span> The attribute value</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">mixed</span>
		<span class="method-name">
			getAttribute
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span><span class="var-description">: The attribute name</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetIterator" id="getIterator"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getIterator</span> (line <span class="line-number">223</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getIterator
		</span>
				()
			</div>
	
		
				<hr class="separator" />
		<div class="notes">Implementation of:</div>
			<dl>
			<dt>IteratorAggregate::getIterator</dt>
					</dl>
			
	</div>
<a name="methodgetLine" id="getLine"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getLine</span> (line <span class="line-number">110</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getLine
		</span>
				()
			</div>
	
		
				<hr class="separator" />
		<div class="notes">Implementation of:</div>
			<dl>
			<dt><a href="../twig/Twig_NodeInterface.html#methodgetLine">Twig_NodeInterface::getLine()</a></dt>
					</dl>
			
	</div>
<a name="methodgetNode" id="getNode"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getNode</span> (line <span class="line-number">188</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets a node by name.</p>
	<ul class="tags">
				<li><span class="field">return:</span> A Twig_Node instance</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../twig/Twig_Node.html">Twig_Node</a></span>
		<span class="method-name">
			getNode
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span><span class="var-description">: The node name</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetNodeTag" id="getNodeTag"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getNodeTag</span> (line <span class="line-number">115</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getNodeTag
		</span>
				()
			</div>
	
		
				<hr class="separator" />
		<div class="notes">Implementation of:</div>
			<dl>
			<dt><a href="../twig/Twig_NodeInterface.html#methodgetNodeTag">Twig_NodeInterface::getNodeTag()</a></dt>
					</dl>
			
	</div>
<a name="methodhasAttribute" id="hasAttribute"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">hasAttribute</span> (line <span class="line-number">127</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns true if the attribute is defined.</p>
	<ul class="tags">
				<li><span class="field">return:</span> true if the attribute is defined, false otherwise</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Boolean</span>
		<span class="method-name">
			hasAttribute
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span><span class="var-description">: The attribute name</span>			</li>
				</ul>
		
			
	</div>
<a name="methodhasNode" id="hasNode"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">hasNode</span> (line <span class="line-number">176</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns true if the node with the given identifier exists.</p>
	<ul class="tags">
				<li><span class="field">return:</span> true if the node with the given name exists, false otherwise</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Boolean</span>
		<span class="method-name">
			hasNode
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span><span class="var-description">: The node name</span>			</li>
				</ul>
		
			
	</div>
<a name="methodremoveAttribute" id="removeAttribute"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">removeAttribute</span> (line <span class="line-number">164</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Removes an attribute.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			removeAttribute
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span><span class="var-description">: The attribute name</span>			</li>
				</ul>
		
			
	</div>
<a name="methodremoveNode" id="removeNode"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">removeNode</span> (line <span class="line-number">213</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Removes a node by name.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			removeNode
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span><span class="var-description">: The node name</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetAttribute" id="setAttribute"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setAttribute</span> (line <span class="line-number">154</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets an attribute.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setAttribute
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$value</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span><span class="var-description">: The attribute name</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$value</span><span class="var-description">: The attribute value</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetNode" id="setNode"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setNode</span> (line <span class="line-number">203</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets a node.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setNode
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, [<span class="var-type"><a href="../twig/Twig_Node.html">Twig_Node</a></span>&nbsp;<span class="var-name">$node</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span><span class="var-description">: The node name</span>			</li>
					<li>
				<span class="var-type"><a href="../twig/Twig_Node.html">Twig_Node</a></span>
				<span class="var-name">$node</span><span class="var-description">: A Twig_Node instance</span>			</li>
				</ul>
		
			
	</div>
<a name="methodtoXml" id="toXml"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">toXml</span> (line <span class="line-number">73</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			toXml
		</span>
					([<span class="var-type"></span>&nbsp;<span class="var-name">$asDom</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$asDom</span>			</li>
				</ul>
		
			
	</div>
<a name="method__toString" id="__toString"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">__toString</span> (line <span class="line-number">45</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			__toString
		</span>
				()
			</div>
	
		
			
	</div>
						
		</div>
	</div>

	
	<p class="notes" id="credit">
		Documentation generated on Thu, 21 Jul 2011 00:28:53 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>